package com.ultizen.farm.controller
{
	import com.ultizen.farm.view.mediator.ApplicationMediator;
	
	import flash.display.Sprite;
	
	import org.puremvc.as3.interfaces.INotification;
	import org.puremvc.as3.patterns.command.SimpleCommand;

	public class ViewPreCommond extends SimpleCommand
	{
		public function ViewPreCommond()
		{
			super();
		}
		override public function execute(notification:INotification):void
		{
			var main:Sprite = notification.getBody() as  Sprite;
			facade.registerMediator(new ApplicationMediator(mainContainer));
		}
	}
}